package com.cy.personer.biz;

import com.cy.personer.bean.Advert;
import com.github.pagehelper.PageInfo;

import java.util.List;

//广告
public interface AdvertBiz {
    //↓↓↓↓↓↓↓↓↓↓↓↓林少艺↓↓↓↓↓↓↓↓↓↓↓↓
    //添加广告
    boolean addAdvert(Advert advert);
    //修改广告
    boolean updateAdvert(Advert advert);
    //查找广告列表
    PageInfo<Advert> getAdverts(Advert advert, int pageNum);
    //查找广告
    Advert getAdvert(Advert advert);
    //删除广告
    boolean delAdvert(Advert advert);
    //↑↑↑↑↑↑↑↑↑↑↑↑↑林少艺↑↑↑↑↑↑↑↑↑↑↑

    //显示广告
    List<Advert> quers();

}
